Make sorter constructors return exact types
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 Aug 2020 19:54:42 +0000 (15:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2020 01:50:15 +0000 (21:50 -0400)
commit24389a0ef5063944aa9909a40239658c4eedb230
tree7daba4b0cca5a7dbc9e892325815f651d4ecc88b
parentdfabe74c593b876f50e56903e6c5f7f11f332781
Make sorter constructors return exact types

Make functions like gtk_custom_sorter_new() return
the actual type they construct.

Update all callers.
26 files changed:
demos/gtk-demo/listview_colors.c
gtk/gtkcolumnview.c
gtk/gtkcolumnviewsorter.c
gtk/gtkcolumnviewsorterprivate.h
gtk/gtkcustomsorter.c
gtk/gtkcustomsorter.h
gtk/gtkmultisorter.c
gtk/gtkmultisorter.h
gtk/gtknumericsorter.c
gtk/gtknumericsorter.h
gtk/gtkprintunixdialog.c
gtk/gtkstringsorter.c
gtk/gtkstringsorter.h
gtk/gtktreelistrowsorter.c
gtk/gtktreelistrowsorter.h
gtk/inspector/actions.c
gtk/inspector/controllers.c
gtk/inspector/prop-list.c
gtk/inspector/resource-list.c
tests/testcolumnview.c
tests/testlistview-animating.c
tests/testlistview.c
testsuite/gtk/sorter.c
testsuite/gtk/sortlistmodel-exhaustive.c
testsuite/gtk/sortlistmodel.c
testsuite/gtk/treesorter.c